package me.spring.cloud.components.starter.rpc.crypto.properties;

import lombok.Data;
import me.spring.cloud.common.components.rpc.crypto.constants.CommonConstants;
import me.spring.cloud.common.components.rpc.crypto.properties.SecretRequestProperties;
import me.spring.cloud.common.components.rpc.crypto.properties.SecretResponseProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author luffy
 * @date 2019-11-15 15:10
 */
@Data
@ConfigurationProperties(prefix = CommonConstants.SECRET_PROPERTIES_PREFIX)
public class SecretProperties {

  /**
   * 是否扫描注解
   */
  private boolean scanAnnotation = false;

  private SecretRequestProperties request;

  private SecretResponseProperties response;

}
